﻿using System;
using System.Web.Mvc;
using DotNETStack.Core;
using DotNETStack.Core.Web;

namespace DotNETStack.Web.UI.Controllers
{
    [HandleError]
    public class HomeController : BaseController
    {
        public ActionResult Index()
        {
            ViewData["Title"] = Helpers.GetPageTitle("Home");
            ViewData["Message"] = "Welcome to DotNETStack.NET !";

            return View();
        }

        public ActionResult About()
        {
            ViewData["Title"] = Helpers.GetPageTitle("About Page");

            return View();
        }
    }
}